﻿using System;
using System.Linq;

namespace odata_linq
{
    class Program
    {
        static void Main(string[] args)
        {
            var odata = new ODataProvider("http://services.odata.org/website/odata.svc");

            var customers = odata.CreateQuery<Customer>("ODataConsumers");

            var result = customers.Where(x => x.Name.StartsWith("T")).ToList();
        }
    }
}
